package com.ymx.darling.executor.mapping.result;

import com.ymx.darling.bean.sql.Statement;
import com.ymx.darling.executor.mapping.metadata.MetaData;

import java.util.*;

/**
 * ResultMap的构造器
 */
public interface ResultMapBuilder {
    /**
     * 构建ResultMap
     * @param statement sql的statement
     * @param metaDataList 结果集元数据集合
     * @return ResultMap
     */
    ResultMap buildResultMap(Statement statement, LinkedHashSet<MetaData> metaDataList);
}
